package com.wkbb.basic.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户登录日志表
 * b_user_login_log
 * @author Lxc
 * @date 2019-08-22 12:56:03
 */
@Data
public class UserLastLogin implements Serializable {

    @ApiModelProperty(value = "编号")
    private Long id;

    @ApiModelProperty(value = "类型(1公众号 2小程序)")
    private Short type;

    @ApiModelProperty(value = "账户ID")
    private Long accountId;

    @ApiModelProperty(value = "组织ID")
    private Long orgId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "角色类型(1教师2家长3学生4职员5游客)")
    private Short roleType;

    @ApiModelProperty(value = "1园长 2教师 3保育员 4 营养师 5代课教师 6职员")
    private Short userType;

    @ApiModelProperty(value = "unionId")
    private String unionId;

    @ApiModelProperty(value = "openId")
    private String openId;

    @ApiModelProperty(value = "状态")
    private Boolean status;

    private Date createTime;

    private Date updateTime;
}